var express = require('express');
var router = express.Router();
var usersController = require('../controller/usersController')

router.get('/',usersController.getAll)
router.post('/',usersController.add)
router.put('/:id',usersController.updateById)
router.delete('/:id',usersController.delUser)
router.get('/getNetWork',usersController.getForBean)


module.exports = router;
